// let date = new Date();
// console.log(date.valueOf())
// let date_timestamp = "1630893947245"

// let new_date = new Date(Number(date_timestamp))
// let nn_date = new_date.toLocaleDateString()
// console.log(nn_date)


var list=new Array();
list=[
    {
        name:'zhangsan',
        age:'12',
        date_timestamp:'1630893947245'
    },
    {
        name:'lisi ',
        age:'13',
        date_timestamp:'1530893947245'
    },
    {
        name:'wangwu',
        age:'10',
        date_timestamp:'1633893947245'
    }
];
console.log(list)
//console.log(list[0].date_timestamp)
for(var i=0;i<list.length;i++)
{
    var dateNeed=new Date(Number(list[i].date_timestamp))
    console.log(dateNeed.toLocaleDateString())
    list[i].date_timestamp=dateNeed.toLocaleDateString()
    //console.log((Date(Number(list[i].date_timestamp.valueOf()))).toLocaleDateString())
    
}
console.log(list)
// console.log(Date(Number(list[i].date_timestamp.toLocaleDateString())))
    
//console.log(list.map(item))
//console.log(new Date(Number(list.date_timestamp.toLocaleDateString())))
    // list.map(item =>{item.date_timestamp = item.date_timestamp.toLocaleDateString()})
    // console.log(list)

